unit html;

interface
       uses consts;
const
  htmlBoldBegin    = '<b>';
  htmb             = htmlBoldBegin;
  htmlBoldEnd      = '</b>';
  htmbb            = htmlBoldEnd;
  htmlLogBegin     = '<tr>' + #13 + '<td width="100" ';
  htmlLogEnd       = '</td>' + #13 + '</tr>' + #13;

  htmlLogHeaderEnd = '</table>' + #13 +
                     '</div>' + #13 +
                     '</body>' + #13 +
                     '</html>';

  htmlLogHeader    =
                     '<html>' + #13 +
                     '<head>' + #13 +
                     '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />' + #13 +
                     '<title>Illusion Ray Engine</title>' + #13 +
                     '<style type="text/css">' + #13 +
                     'body, html {' + #13 +
                     'background: #000000;' + #13 +
                     'width: 1000px;' + #13 +
                     'font-family: Arial;' + #13 +
                     'font-size: 16px;' + #13 +
                     'color: #C0C0C0;' + #13 +
                     '}' + #13 +

                     'h1 {' + #13 +
                     'color : #FFFFFF;' + #13 +
                     'border-bottom : 1px dotted #888888;' + #13 +
                     '}' + #13 +
                     '.box {' + #13 +
                     'border : 1px dotted #818286;' + #13 +
                     'padding : 5px;' + #13 +
                     'margin: 5px;' + #13 +
                     'width: 950px;' + #13 +
                     'background-color : #292929;' + #13 +
                     '}' + #13 +

                     '.err {' + #13 +
                     'color: #EE1100;' + #13 +
                     'font-weight: bold' + #13 +
                     '}' + #13 +
// warn
                     '.warn {' + #13 +
                     'color: #FFCC00;' + #13 +
                     'font-weight: bold' + #13 +
                     '}' + #13 +
// log
                     '.log {' + #13 +
                     'color: #C0C0C0;' + #13 +
                     '}' + #13 +
// info
                     '.info {' + #13 +
                     'color: #BEBEBE;' + #13 +
//    'font-weight: bold' + #13 +
                     '}' + #13 +
// debug
                     '.debug {' + #13 +
                     'color: #CCA0A0;' + #13 +
                     '}' + #13 +

                     '</style> ' + #13 +
                     '</head>' + #13 +
                     '<body>' + #13 +
                     '<h1>IRay3D Log</h1>' + #13 +
                     '<h3>IRay3D ' + cnstIrayDllVersion + ' Beta </h3>' + #13 +
                     '<div class="box">' + #13 +
                     '<table>' + #13 {+ #13 +};

implementation

end.
